<!--
 * @Description: 
 * @Author: shizhe
 * @Date: 2021-10-29 10:28:21
 * @LastEditTime: 2022-04-11 11:14:47
 * @LastEditors: shizhe
 * @Reference: 
-->
<template>
  <div>
    <el-tabs v-model.trim="activeName" @tab-click="handleClick" class="biddingTab">
      <el-tab-pane label="招标详情" name="1">
        <check-bidd-from :bidd="biddfrom" :downLoad="2"></check-bidd-from>
      </el-tab-pane>
      <el-tab-pane label="报价记录" name="2">
        <quotation-record :bidid="biddId"></quotation-record>
      </el-tab-pane>
      <el-tab-pane label="审核记录" name="3">
        <audit-record :id="biddId"></audit-record>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import AuditRecord from './auditRecord.vue'
import checkBiddFrom from './checkBiddFrom.vue'
import QuotationRecord from './quotationRecord.vue'
export default {
  components: { checkBiddFrom, AuditRecord, QuotationRecord },
  props: {
    biddFrom: {
      type: Object
    },
    biddid: {
      type: Number,
      require: true
    }
  },
  data() {
    return {
      biddId: this.biddid,
      activeName: '1',
      biddfrom: this.biddFrom
    }
  },
  mounted() {},
  methods: {
    handleClick() {}
  }
}
</script>
<style lang="less" scoped>
.biddingTab {
  /deep/ .el-tabs__header {
    margin: 0 0 30px !important;
  }
}
</style>
